const obj1 = {
    name: "echo",
    foo: function () {
        console.log(this.name);
    }
}
const obj2 = {
    name: "wer"
}
//原生
obj1.foo.call(obj2);